lifePlan = function(){
	
	var data;
	Ext.Ajax.request( {
    	url : "qryLifePlanByParameterAction.action", 
    	async:false,//同步加载
    	params : {
    		
    	}, //参数
    	success : function(response, option) {
    	
    		var obj = Ext.decode(response.responseText);
    		if(obj.list.length > 0){
    			data = obj.list[0];
    		}else{
    			data = null;
    		}
    		
    	},
    	failure : function(response, option) {
    		Ext.Msg.alert("失败", "系统错误");
    	}
    	});
	
	/*var url = 'jsp/student/showLifePlan.jsp?';
	url+="&createDate="+data.createDate;
	url+="&contentText="+data.conentText;
	if(data.remark != null)
	url +="&remark="+data.remark;
	if(data.evaluate != null)
	url +="&evaluate="+data.evaluate;
	
	url = url.replace(/\"/g,"'");//alert(url);*/
	if(data == null){
		Ext.Msg.alert("失败", "你还没有创建人生规划书，内容为空！");
		return null;
	}
	var contentText=data.conentText;
	var createDate = data.createDate;
    createDate = createDate.replace("T"," ").substring(0,16);
    var remark=data.remark;if(remark == null || remark == 'null')remark='';
    var evaluate=data.evaluate;if(evaluate == null || evaluate == 'null')evaluate='';
	var panel = new Ext.form.FormPanel( {
		id : "PlanPanel",
		width:'100%',
		height:'100%',
	//	layout : "form",
		frame: true,
		autoScroll : true,
		region:center,
		items:[  
			{
				width:'100%',
				//height:500,
				xtype:'panel',
				//html:'<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="'+url+'"></iframe>'
				html:'<center><h2>人生规划书</h2><script type="text/javascript">name</script><span style="font-size:12px;"> 创建时间：'+createDate+'</span><hr style="width:90%;"></center><div style="margin:auto;width:90%;">'+contentText+'</div><br><br><br><br><div style="margin:auto;width:90%;font-size:12px;">备注:'+remark+'</div><br><br><div style="margin:auto;width:90%;color:#aa0000">导师评语:'+evaluate+'</div>'
			}
	    ]
	});
	return panel;
}